package arrays;

import java.util.ArrayList;

/** ArrayList Operations **/
public class ArrayListOps {
	/**
	 * append all elements from A at the end of B
	 * **/
	public ArrayList<Object> append(ArrayList<Object> A, ArrayList<Object> B)
	{
        /** iterate over ArrayList with for-loop (just another way of doing the same) **/
        for ( Object OBJECT : A )
        {
       		B.add(OBJECT);
        }
		
		return B;
	}
}